package com.mc.bean;
/**
 * @Description 团队实体类
 * @author fyp
 * @date 2023/2/11 11:51
 * @version 1.0
 */
public class Team {

    /**
     * 团队id
     */
    private int teamid;

    /**
     *团队名字
     */
    private String teamname;

    public Team() {
    }

    public Team(int teamid, String teamname) {
        this.teamid = teamid;
        this.teamname = teamname;
    }

    public Team(int teamid) {
        this.teamid = teamid;
    }

    public Team(String teamname) {
        this.teamname = teamname;
    }

    @Override
    public String toString() {
        return "Team{" +
                "teamid=" + teamid +
                ", teamname='" + teamname + '\'' +
                '}';
    }

    public int getTeamid() {
        return teamid;
    }

    public void setTeamid(int teamid) {
        this.teamid = teamid;
    }

    public String getTeamname() {
        return teamname;
    }

    public void setTeamname(String teamname) {
        this.teamname = teamname;
    }
}
